package com.ktgj.service.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 合同附件对象 contract_attachment
 * 
 * @author ruoyi
 * @date 2021-09-03
 */
public class ContractAttachment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 附件ID */
    private Long attachmentId;

    /** 合同ID */
    @Excel(name = "合同ID")
    private Long contractId;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String attachName;

    /** 存储路径 */
    @Excel(name = "存储路径")
    private String attachPath;

    /** 状态：0，默认；-1000，删除 */
    @Excel(name = "状态：0，默认；-1000，删除")
    private String status;

    /** 操作人ID */
    @Excel(name = "操作人ID")
    private Long opemployeeId;

    public void setAttachmentId(Long attachmentId) 
    {
        this.attachmentId = attachmentId;
    }

    public Long getAttachmentId() 
    {
        return attachmentId;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setAttachName(String attachName) 
    {
        this.attachName = attachName;
    }

    public String getAttachName() 
    {
        return attachName;
    }
    public void setAttachPath(String attachPath) 
    {
        this.attachPath = attachPath;
    }

    public String getAttachPath() 
    {
        return attachPath;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setOpemployeeId(Long opemployeeId) 
    {
        this.opemployeeId = opemployeeId;
    }

    public Long getOpemployeeId() 
    {
        return opemployeeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attachmentId", getAttachmentId())
            .append("contractId", getContractId())
            .append("attachName", getAttachName())
            .append("attachPath", getAttachPath())
            .append("status", getStatus())
            .append("opemployeeId", getOpemployeeId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
